<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@include file="/WEB-INF/jsp/include/tags.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>contentAttachment - write</title>
	<link rel="stylesheet" type="text/css" href="/css/style.css"/>
	<script type="text/javascript">
	<!--
		function goEdit() {
			var f = document.contentAttachmentCriteriaForm;
			f.action = '/contentAttachmentEdit.do';
			f.method = 'get';
			f.elements["mode"].value = 'edit';
			f.submit();
		}
		
		function goDelete() {
			var f = document.contentAttachmentCriteriaForm;
			f.action = '/contentAttachment.do';
			f.method = 'post';
			f.elements["mode"].value = 'delete';
			f.submit();
		}

		function goList() {
			var f = document.contentAttachmentCriteriaForm;
			f.action = '/contentAttachment.do';
			f.method = 'get';
			f.elements["mode"].value = 'list';
			f.submit();
		}
	//-->
	</script>
</head>
<body>
	
	<p><a href="/">home</a></p>
	
	<h1>ContentAttachment - detail</h1>
	
	<form:form commandName="contentAttachmentCriteria" id="contentAttachmentCriteriaForm" name="contentAttachmentCriteriaForm" action="/contentAttachment.do" method="get">
	<input type="hidden" name="mode"/>
	<form:hidden path="contentId"/>
	<form:hidden path="paging.currentPage"/>
	</form:form>
	
	<table width="800">
		<colgroup width="800">
			<col width="100"/>
			<col width="*"/>
		</colgroup>
		<tr>
			<th>contentId</th>
			<td>
				<c:out value="${contentAttachment.contentId}"/>
			</td>
		</tr>
		<tr>
			<th>priority</th>
			<td>
				<c:out value="${contentAttachment.priority}"/>
			</td>
		</tr>
		<tr>
			<th>attachmentPath</th>
			<td>
				<c:out value="${contentAttachment.attachmentPath}"/>
			</td>
		</tr>
		<tr>
			<th>attachmentName</th>
			<td>
				<c:out value="${contentAttachment.attachmentName}"/>
			</td>
		</tr>
		<tr>
			<th>filename</th>
			<td>
				<c:out value="${contentAttachment.filename}"/>
			</td>
		</tr>
		<tr>
			<th>downloadCount</th>
			<td>
				<c:out value="${contentAttachment.downloadCount}"/>
			</td>
		</tr>
	</table>

	<p/>
	
	<a href="<c:url value='javascript:goEdit();'/>">edit</a>
	<a href="<c:url value='javascript:goDelete();'/>">delete</a>
	<a href="<c:url value='javascript:goList();'/>">list</a>

</body>
</html>
